package com.tyrant.macaulottery.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

import com.orhanobut.logger.Logger;
import com.tyrant.macaulottery.R;

import butterknife.Bind;
import butterknife.ButterKnife;

public class ShowActivityActivity extends AppCompatActivity {

    @Bind(R.id.tv_activity)
    TextView tv_activity;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_activity);
        ButterKnife.bind(this);
        initView();
    }

    private void initView() {
        String data = getIntent().getStringExtra("data");
        Logger.e(data);
        tv_activity.setText(data);
    }
}
